Rehabilitation based on CBT principles